package edu.sctu.practice.class02.hujie.my_practice.day20151027;

/**
 * Created by hj on 2015/10/27.
 */
public class A {
    int i;
    static int j;

    void set1(int x, int y) {
        i = x;
        j = y;
    }

    static void set2(int z) {
        j = z * z;
    }
    void  showXY(){
        System.out.println("i="+i+"...j="+j);
    }

    public static void main(String[] args) {
        A a=new A();
        a.set1(10,20);
        a.showXY();
        a.set2(30);
        a.showXY();
        A.set2(50);

    }
}
